// <!--
	function EditGame()
	{
		// If set the function fails. :D
		var fail;
		
		// Make sure the required objects exist, kinda odd, but failsecure. :D
		if ( !fail &&  !document)
		{
			fail='Warning: No document object';
		}
		
		if ( !fail &&  !document.getElementById("EditGamer") )
		{
			fail='Warning: No EditGamer form';
		}
		if ( !fail &&  !document.getElementById("EditGamer").OwnerName )
		{
			fail='Warning: No OwnerName input object';
		}
		if ( !fail &&  !document.getElementById("EditGamer").LogoID )
		{
			fail='Warning: No LogoID input object';
		}
		if ( !fail &&  !document.getElementById("EditGamer").About )
		{
			fail='Warning: No About input object';
		}
		if ( !fail &&  !document.getElementById("EditGamer").DownloadLink )
		{
			fail='Warning: No DownloadLink input object';
		}
		if ( !fail &&  !document.getElementById("EditGamer").Progresses )
		{
			fail='Warning: No Progresses input object';
		}
		
		// Check the objects in question.
		if ( !fail && document.getElementById("EditGamer").OwnerName.value == "")
		{
			fail='Please write the username of the owner of this game!';
			document.getElementById("EditGamer").OwnerName.focus();
		}
		if ( !fail && document.getElementById("EditGamer").LogoID.value == "")
		{
			fail='Please write the id for the Logo of this game! Please enter an Id for a valid file at Maxsi Upload!';
			document.getElementById("EditGamer").LogoID.focus();
		}		
		if ( !fail && document.getElementById("EditGamer").About.value == "")
		{
			fail='Please write an about!';
			document.getElementById("EditGamer").About.focus();
		}
		
		if (!fail)
		{
			document.getElementById("EditGamer").submit();
		}
		else
		{
			alert(fail);
		}
	}
	function PostFeedback()
	{
		// If set the function fails. :D
		var fail;
		
		// Make sure the required objects exist, kinda odd, but failsecure. :D
		if ( !fail &&  !document)
		{
			fail='Warning: No document object';
		}
		
		if ( !fail &&  !document.getElementById("PostFeedbacker") )
		{
			fail='Warning: No PostFeedbacker form';
		}
		
		if ( !fail &&  !document.getElementById("PostFeedbacker").SteamUsername )
		{
			fail='Warning: No SteamUsername input object';
		}
		if ( !fail &&  !document.getElementById("PostFeedbacker").Feedback )
		{
			fail='Warning: No Feedback input object';
		}
		
		// Check the objects in question.
		if ( !fail && document.getElementById("PostFeedbacker").SteamUsername.value == "")
		{
			fail='Please enter your Steam username!';
			document.getElementById("PostFeedbacker").SteamUsername.focus();
		}
		if ( !fail && document.getElementById("PostFeedbacker").Feedback.value == "")
		{
			fail='Please write your Feedback!';
			document.getElementById("PostFeedbacker").Feedback.focus();
		}		
		
		if (!fail)
		{
			document.getElementById("PostFeedbacker").submit();
		}
		else
		{
			alert(fail);
		}
	}
	//-->